package com.hllxd.hism.star.basic.service.constant;

/**
 * POS青春版相关常量
 *
 * @author liuxiongbo
 * @date 2020/12/18 15:00
 **/
public class PosYouthVersionContants {
    /**
     * 私钥
     */
    public static final String PRIVATE_KEY = "813eae6fe94441fbb39d24f641440541";
    /**
     * 签名分隔符
     */
    public static final String SIGN_SEPARATOR = "_";
    /**
     * 请求源标识
     */
    public static final String REQUEST_SOURCR = "shopmall-supplier";
    /**
     * token的redis的key的前缀
     */
    public static final String TOKEN_REDIS_KEY_PREFIX = "HLLXD_BASIC:POSYV:TOKEN:";
    /**
     * 组合商品类型
     */
    public static final Integer BUNDLING_GOODS_TYPE_YES = 1;
    /**
     * <p> 含义：过期时间：3天,单位：毫秒 </p>
     * <p> 用途：指定缓存token的过期时间 </p>
     */
    public static final long TOKEN_EXPIRE_TIME = 3 * 24 * 60 * 60 * 1000L;
    /**
     * 默认页面大小 这个先不管分页的，永哥说了后续处理
     */
    public static final int DEFAULT_PAGE_SIZE = 1000;
    /**
     * 默认页码
     */
    public static final int DEFAULT_PAGE_NUM = 1;

    /**
     * token失效的错误码
     */
    public static final String TOKEN_INVALID_CODE = "00120110118";
    /**
     * 转换为跳房子订单：合同类型-渠道订购
     */
    public static final String ORDER_TYPE = "OAS";
    /**
     * 转换为跳房子订单：支付状态-master表-已结清
     */
    public static final int PAY_STATUS_MASTER = 2;
    /**
     * 转换为跳房子订单：支付状态-交易表-已完成
     */
    public static final int PAY_STATUS_PAID = 3;
    /**
     * 转换为跳房子订单：订单状态-已完成
     */
    public static final int ORDER_STATUS = 3;
    /**
     * 转换为跳房子订单：合同介质-新版纸质
     */
    public static final int CONTRACT_FORM = 1;
    /**
     * 转换为跳房子订单：服务名称
     */
    public static final String SERVICE_NAME = "TTC";
    /**
     * 转换为跳房子订单：收款单号前缀
     */
    public static final String PAY_TRADE_NO_PREFIX = "SK";
    /**
     * 转换为跳房子订单：支付json
     */
    public static final String PAY_REMARK_JSON = "{\"marginMoney\":\"0.0\",\"softwareMoney\":\"0.0\",\"hardwareMoney\":\"0.0\",\"serviceMoney\":\"0.0\",\"flowMoney\":" +
            "\"0.0\",\"smsFlowMoney\":\"0.0\",\"payFlowMoney\":\"0.0\",\"invoiceFlowMoney\":\"0.0\",\"redPacketFlowMoney\":0.0,\"idFlowMoney\":0.0}";
    /**
     * 转换为跳房子订单：支付json里的软件金额key
     */
    public static final String PAY_REMARK_JSON_KEY_RJ = "softwareMoney";
    /**
     * 转换为跳房子订单：支付json里的硬件金额key
     */
    public static final String PAY_REMARK_JSON_KEY_YJ = "hardwareMoney";
    /**
     * 转换为跳房子订单：生成注册码的浅醉
     */
    public static final String LICENSE_PREFIX = "REG";
    /**
     * 转换为跳房子订单：合同归属人ID
     */
    public static final Long SELLER_EMP_ID = 579L; // 李雪松的ID

    // 将王亚奇的进行转化
    public static final Long SELLER_EMP_ID2 = 141L; // 庞然的ID

    /**
     * 转换为跳房子订单：合同编号前缀
     * PYV：pos youth version
     */
    public static final String CONTRACT_CODE_PREFIX = "PYV";
    /**
     * 转换为跳房子订单：写到跳房子订单备注里的信息
     */
    public static final String RECEIVER_ADDRESS = "收货地址：";
    public static final String RECEIVER_MOBILE = "收货人手机号：";
    public static final String RECEIVER_NAME = "收货人姓名：";
    public static final String SUB_BILL_REMARK = "备注：";
}
